package com.allwees.bs.module.pms.rest;

import com.allwees.bs.module.core.annotation.PrintLog;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.allwees.bs.core.modelbase.vo.R;
import com.allwees.bs.module.core.rest.BoCrudApi;
import com.allwees.bs.module.pms.entity.ProductOnoffLog;
import com.allwees.bs.module.pms.req.query.ProductOnoffLogQueryReq;
import com.allwees.bs.module.pms.service.ProductOnoffLogService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@PrintLog
@RestController
@RequestMapping("/backstage/api/pms/product_onoff_log")
public class ProductOnoffLogApi extends BoCrudApi<ProductOnoffLog, ProductOnoffLogService> {
	@GetMapping("page")
	public R page(Page<ProductOnoffLog> page, ProductOnoffLogQueryReq req) {
		return super.page(page, req);
	}
}
